﻿using System;
using UnityEngine;
using UnityEngine.UI;

namespace Studio
{
	// Token: 0x02000438 RID: 1080
	public class CharaFileInfo
	{
		// Token: 0x06001AC1 RID: 6849 RVA: 0x000AA9A8 File Offset: 0x000A8BA8
		public CharaFileInfo(string _file = "", string _name = "")
		{
			this.file = _file;
			this.name = _name;
		}

		// Token: 0x17000294 RID: 660
		// (get) Token: 0x06001AC2 RID: 6850 RVA: 0x000AA9DC File Offset: 0x000A8BDC
		// (set) Token: 0x06001AC3 RID: 6851 RVA: 0x000AA9E4 File Offset: 0x000A8BE4
		public GameSceneNode gameSceneNode { get; set; }

		// Token: 0x17000295 RID: 661
		// (get) Token: 0x06001AC4 RID: 6852 RVA: 0x000AA9F0 File Offset: 0x000A8BF0
		// (set) Token: 0x06001AC5 RID: 6853 RVA: 0x000AAA00 File Offset: 0x000A8C00
		public bool select
		{
			get
			{
				return this.gameSceneNode.select;
			}
			set
			{
				this.gameSceneNode.select = value;
				if (this.button)
				{
					this.button.image.color = ((!value) ? Color.white : Color.green);
				}
			}
		}

		// Token: 0x17000296 RID: 662
		// (set) Token: 0x06001AC6 RID: 6854 RVA: 0x000AAA50 File Offset: 0x000A8C50
		public int siblingIndex
		{
			set
			{
				this.gameSceneNode.transform.SetSiblingIndex(value);
			}
		}

		// Token: 0x04001D73 RID: 7539
		public string file = string.Empty;

		// Token: 0x04001D74 RID: 7540
		public string name = string.Empty;

		// Token: 0x04001D75 RID: 7541
		public DateTime time;

		// Token: 0x04001D76 RID: 7542
		public int index = -1;

		// Token: 0x04001D78 RID: 7544
		public Button button;
	}
}
